package httpserver

import (
	"github.com/devfeel/dotweb"
	"git.oschina.net/YPTArch/appcenter/httpserver/handlers/application"
)

func InitRoute(httpServer *dotweb.HttpServer) {
	//application
	httpServer.Router().POST("/application", application.CreateHeandler)
	httpServer.Router().GET("/application/:appId", application.GetAppHeandler)
}